package com.betterwood.dragon.entity.dto;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import lombok.Data;

@Data
public class SearchDTO {

    @NotBlank(message = "id不能为空")
    private String id;

    @NotBlank(message = "searchId不能为空")
    private String searchId;

    @NotBlank(message = "keywordStr不能为空")
    private String keywordStr;

    @NotBlank(message = "prop不能为空")
    private String prop;

    @NotBlank(message = "maker不能为空")
    private String maker;

    @NotBlank(message = "网站编码不能为空")
    private String siteNo;

    // @NotNull(message = "currentPage不能为空")

    private Integer currentPage;
    // @NotNull(message = "pageSize不能为空")

    private Integer pageSize;

}
